package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.UserOrder;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface IUserOrderService {

    void saveOrUpdate(UserOrder u);//保存用户订单

    PageInfo<UserOrder> query(QueryObject qo);//分页查询用户订单

    UserOrder selectByProductId(Long id);

    UserOrder selectByIndentId(Long id);

    void updateByIndentId(Long id,Integer state,Long userId);

    void saveOrUpdateLeading(UserOrder userOrder);

    UserOrder selectByOrderNumber(String orderNumber);

    UserOrder selectByUUID(String orderNumber);
}
